using System;

namespace Me.Prettyprint.Hector.Api.Exceptions
{
    /// <summary>
    /// When a query is invalid, it will throw this exception
    /// </summary>
	[Serializable]
	public sealed class HInvalidRequestException:HectorException
	{
		public string Why
		{
			get;
			set;
			
		}
		
		public HInvalidRequestException(System.String msg):base(msg)
		{
			Why = msg;
		}
		public HInvalidRequestException(System.Exception t):base(t)
		{
		}
	}
}